package com.usian.ai.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.time.LocalDateTime;

/**
 * @TODO:
 * @Author:baimu
 * @Date:2024 12 06 11 32
 **/

@TableName("job")
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class Job {


    @TableId
    @TableField("id")
    private Integer id;


    @TableField("job_name")
    private String jobName;

    @TableField("job_desc")

    private String jobDesc;

    @TableField("status")

    private Integer status;

    @TableField("interviewer_id")
    private Integer interviewerId;
    @TableField("prompt")

    private String prompt;
    @TableField("create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime createTime;
    @TableField("updated_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime updatedTime;

    @TableField(exist = false)
    String interviewerName;




}
